package com.md.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.md.model.page.PageRequest;
import com.md.value.AppTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 刘骄阳
 * 2024-07-14 22:13
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("查询应用信息请求实体")
public class QueryAppInfoRequest extends PageRequest {

  @JsonFormat(shape = JsonFormat.Shape.STRING)
  @ApiModelProperty("主键id")
  private Long id;
  /**
   * 应用code
   */
  @ApiModelProperty("应用code")
  private String appCode;
  /**
   * 租户id
   */
  @ApiModelProperty("租户id")
  private Long tenantId;
  /**
   * 应用id
   */
  @ApiModelProperty("应用id")
  private Long brandId;

  /**
   * 模块id
   */
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  @ApiModelProperty("模块id")
  private Long moduleId;
  /**
   * 应用类型(PUBLIC: 公开; PRIVATE: 私有)
   */
  @ApiModelProperty("应用类型(PUBLIC: 公开; PRIVATE: 私有)")
  private AppTypeEnum appType;
}
